package Month07.day16.test;

public class Computer {
    public void computerOpen(){
        System.out.println("笔记本开机");
    }
    public void computerClose(){
        System.out.println("笔记本关机");
    }
    public void useUse(Usb usb){
        usb.close();
        usb.open();
        if (usb instanceof Mouse){
            Mouse mouse = (Mouse) usb;
            mouse.fuck();
        }
    }
}
